from django.db import models

# Create your models here.
# Create your models here.
class Information(models.Model):
  ip=models.CharField(max_length=100)
  port=models.CharField(max_length=30)
  passwd=models.CharField(max_length=60)
  sock=models.CharField(max_length=60)
  connect_status=models.CharField(max_length=50)
  comment=models.CharField(max_length=500)

class Dblist(models.Model):
  ip=models.CharField(max_length=100)
  port = models.CharField(max_length=30)
  db=models.CharField(max_length=50)

#  <th>序号</th>
#             <th>漫画</th>
#             <th>作者</th>
#             <th>集数</th>
#             <th>出版社</th>
#             <th>ISBN</th>

class Book(models.Model):
  id = models.IntegerField(auto_created=True, primary_key=True)
  name = models.CharField(max_length=100)
  author = models.CharField(max_length=100)
  times = models.CharField(max_length=100)
  publish = models.CharField(max_length=100)
  ISBN = models.CharField(max_length=100)
